package com.xiaoyy.sso.core.service.impl;

import com.xiaoyy.sso.core.dao.model.SysRouter;
import com.xiaoyy.sso.core.dao.mapper.SysRouterMapper;
import com.xiaoyy.sso.core.service.SysRouterService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 系统路由表 服务实现类
 * </p>
 *
 * @author chenzh
 * @since 2020-06-17
 */
@Service
public class SysRouterServiceImpl extends ServiceImpl<SysRouterMapper, SysRouter> implements SysRouterService {
    @Override
    public List<SysRouter> selectByUserid(String userId) {
        return baseMapper.selectByUserid(userId);
    }
}
